package com.stream.pushstream.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 设备管理对象 device
 * 
 * @author liuyang
 * @date 2022-03-16
 * @date 2022-03-30
 */
public class Device implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long uuid;

    /** 设备名称 */
    private String name;

    /** 流地址 */

    private String streamUrl;

    /** 检测区域 */

    private String detectArea;

    /** 排除区域 */

    private String excludeArea;
    /** 备注 */

    private String memo;

    public void setUuid(Long uuid) 
    {
        this.uuid = uuid;
    }

    public Long getUuid() 
    {
        return uuid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStreamUrl(String streamUrl) 
    {
        this.streamUrl = streamUrl;
    }

    public String getStreamUrl() 
    {
        return streamUrl;
    }
    public void setDetectArea(String detectArea) 
    {
        this.detectArea = detectArea;
    }

    public String getDetectArea() 
    {
        return detectArea;
    }
    public void setExcludeArea(String excludeArea) 
    {
        this.excludeArea = excludeArea;
    }

    public String getExcludeArea() 
    {
        return excludeArea;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("name", getName())
            .append("streamUrl", getStreamUrl())
            .append("detectArea", getDetectArea())
            .append("excludeArea", getExcludeArea())
            .append("memo", getMemo())
            .toString();
    }
}
